package com.myboot.demo.enums;

import lombok.Getter;

/**
 * @Author: 韦溜溜
 * @Description:
 * @Date: Create in 21:27 2018/12/11
 */
@Getter
public enum OrderStatusEnum implements CodeEnum {
    NEW(0,"新订单"),
    FINISHED(1,"完结"),
    CANCEL(2,"取消"),
    ;

    private Integer code;

    private String message;

    OrderStatusEnum(Integer code,String message){
        this.code = code;
        this.message = message;
    }

}
